<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-gray " id="">
	<ul class="am-navbar-nav am-cf am-avg-sm-4">
		<li{if $sys.ctrl == 'index'} class='am-active'{/if}>
			<a href="{$sys.url}"> <span class="ok-icon ok-icon-home"></span> <span class="am-navbar-label">首页</span>
			</a>
		</li>
		<li{if $page_rs.identifier == 'product'} class="am-active"{/if}>
			<a href="{url id=product/}"> <i class="ok-icon ok-icon-all"></i> <span class="am-navbar-label">产品</span>
			</a>
		</li>

		<li{if $sys.ctrl == 'cart'} class='am-active'{/if}>
			<div class="cart">
			<a href="{url ctrl=cart/}">
				<i class="ok-icon ok-icon-cart"></i>
				<span class="am-navbar-label">购物车</span>
				<span id="head_cart_num" class="am-badge am-badge-danger hide">0</span>
			</a>
			</div>
		</li>
		<li{if $page_rs.identifier == 'contactus' || $rs.identifier == 'contactus'} class="am-active"{/if}>
			<a href="{url id=contactus/}"> <i class="ok-icon ok-icon-service"></i> <span class="am-navbar-label">服务</span>
			</a>
		</li>
		<!-- if $session.user_id -->
		<li{if $sys.ctrl == 'usercp'} class='am-active'{/if}>
			<a href="{url ctrl=usercp/}"> <i class="ok-icon ok-icon-account"></i> <span class="am-navbar-label">我</span></a>
		</li>
		<!-- else -->
		<li{if $sys.ctrl == 'login' || $sys.ctrl == 'register'} class='am-active'{/if}>
			<a href="{url ctrl=login/}"> <i class="ok-icon ok-icon-account"></i> <span class="am-navbar-label">我</span></a>
		</li>
		<!-- /if -->
	</ul>
</div>

<!-- include tpl=footer -->
